/*
    Heart of Gold engine management system
    Copyright (C) 2004 Heart of Gold development team

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

package com.heartOfGold.view;

/*
 * A runtime tuning page for the Megasquirt HOG_Component
 * @author Ryan Higgins
 * @date May 2004
 */

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

//import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;

public class FuelTuning extends JPanel implements ActionListener {
    FuelMaster master;

    public FuelTuning(final FuelMaster m) {
        master = m;
    }

    public final void actionPerformed(final ActionEvent ae) {
        String command = ae.getActionCommand();

        if (master.switchScreen(command)) {
            JOptionPane.showMessageDialog(this,
                    "This function is not yet implemented", "Not Implemented",
                    JOptionPane.INFORMATION_MESSAGE);
        }

    }

}
